package com.huitone.gddw.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.huitone.gddw.dao.entity.PrgExtInfo;
import com.huitone.gddw.dao.entity.PrgInfo;
import com.huitone.gddw.model.support.QueryPage;
import com.huitone.gddw.service.dto.PrgInfoDTO;

@Service
public interface IPrgInfoService {
    int deleteByPrimaryKey(String prgId);
    
    PrgInfo selectByPrimaryKey(String prgId);
    
    QueryPage<PrgInfoDTO> selectPage(QueryPage<PrgInfo> qp);
    
    List<PrgInfoDTO> getRecord(Map<String,Object> map);

    List<PrgInfo> selectPrgInfoByMap(Map<String,Object> map);

	int delete(String prgId);

	PrgInfoDTO toUpadte(String prgId);

	int updateStatus(String prgId);

	void save(PrgInfo record, List<PrgExtInfo> listSaveExt);

	void update(PrgInfo record, List<PrgExtInfo> listSaveExt, List<PrgExtInfo> listUpdateExt,
			List<PrgExtInfo> listDelExt); 
	
    List<PrgInfo> getByParamtabId(String paramtabId);
}